<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http：//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http：//www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>易购商城</title>
    <link rel="stylesheet" href="__HCSS__/public.css" />
    <link rel="stylesheet" href="__HCSS__/shopcart.css" />
</head>

<body>
     <div id="mar"/>
        	<!--包含公共头部文件-->
           <include file="Public:header"/>
		    
		   <div class="header">
            <div class="header_container" >
                <!--头部开始-->
                <div class="logo-out">
                    <!-- logo -->
                    <h1 class="logo clear fl">
                        <a href="index.html">
                            <img src="__HIMG__/logo.png" />
                        </a>
                    </h1>
			<ul class="breadcrumb cbreadcrumb">
                <li class="active">
                    <a href="#">加入购物车</a>
                </li>
                <li>
                    <a href="#">确认订单信息</a>
                </li>
                <li>
                    <a href="#">完成订单</a>
                </li>
            </ul>
                </div>

            </div>
        </div>
        <!-- 头部结束 -->
        <div class="section_container">
            <!-- 购物车 -->
        <div id="shopping_cart">
            <div class="message success">我的购物车</div>
			           
            <table class="data-table cart-table cart-table2" cellpadding="0" cellspacing="0">
            <tr>
              <th class="align_center" width="15%">商品编号</th>
              <th class="align_center" width="15%" >商品图片</th>
              <th class="align_center" width="25%" >商品名称</th>
              <th class="align_center" width="10%" ></th>
              <th class="align_center" width="10%">销售价格</th>
              <th class="align_center" width="10%">数量</th>
              <th class="align_center" width="15%">小计</th>
              <th class="align_center" width="10%">操作</th>
              
            </tr>
			<volist name="allgoods" id="vo">
            <tr class="trhover">
              <td class="align_center"><a href="#" class="edit">{$vo.goods_sn}</a></td>
              <td width="80px" ><img src="__HUP__{$vo.goods_thumb}" width="80" height="80"/></td>
              <td class="align_center" ><a class="pr_name" href="#">{$vo.goods_name}</a></td>
              <td class="align_center"></td>
              <td class="align_center vline"><span class="price">￥{$vo.shop_price}</span></td>
              <td class="align_center vline">
                  <div class="wrap-input wrap-input2">
                                    <input class="text txt-num" value="{$vo.goods_number}" >
                                </div>
              </td>
              <td class="align_center vline"><span class="price">￥<?php echo $vo['shop_price']*$vo['goods_number'];?></span></td>
              <td class="align_center vline"><a href="__URL__/del/id/{$vo.id}" class="remove" title="删除"></a></td>
            </tr>
           </volist>
           
          </table>
          <!-- 结算 -->
          <div class="totals">
          	<div class="continue-buy">
            <a href="__URL__/delAll/u_id/{$vo.user_id}" title="清空购物车" class="delete-all fr">清空购物车</a>
          <a href="../__GROUP__" class="continue fr">继续购物</a>

            </div>
          	<p class="align_right"><span class="fl">小&nbsp;&nbsp;计：</span><span class="fr">￥{$allprice}</span></p>
          	<p class="align_right"><span class="fl">运&nbsp;&nbsp;费：</span><span class="fr">￥0.00</span></p>
          	<p class="align_right"><span class="fl">总&nbsp;&nbsp;计：</span><span class="total-price fr"><b>￥{$allprice}</b></span></p>
    
        <div class="action_buttonbar">
         
          <button type="button"  title="" class="checkout fr" >去结算</button>
          <div style="clear：both"></div>
        </div>
          </div>
        </div>

            <!-- 购物车结束 -->
              <!-- 产品列表 -->
            <div class="products_list products_slider clear">
                <h2 class="sub_title">· 新品发售</h2>
                <ul id="first-carousel" class="first-and-second-carousel jcarousel-skin-tango">
                    <volist name='data' id='vo'>
					<li >
                        <a  href="__GROUP__/Index/deta/id/{$vo.g_id}"class="product_image">
                            <img src="__HUP__{$vo.g_img}" />
                        </a>
						
                        <span class="list-hover"><a href="__GROUP__/Index/deta/id/{$vo.g_id}"><img src="__HIMG__/tips.png" /></a></span>
                        <div class="product_info">
                            <h3>
                                <a href="__GROUP__/Index/deta/id/{$vo.g_id}">{$vo.g_name}</a>
                            </h3>
                            <small>{$vo.g_desc}</small>
                        </div>
                        <div class="price_info">
                        <button>
                            <span class="pr_add">放入购物车</span>
                        </button>
                        <button class="price_add" title="" type="button">
                            <span class="pr_price">&yen;{$vo.g_price}</span></button>
                        </div>
                    </li>
					</volist>
                    
                </ul>
            </div>
            <!--产品列表结束  -->

         <!-- 产品列表 -->
            <div class="products_list products_slider clear">
                <h2 class="sub_title">· 热销商品</h2>
                <ul id="first-carousel" class="first-and-second-carousel jcarousel-skin-tango">
                    
                    <volist name='data1' id='vo'>
					<li >
                        <a  href="__GROUP__/Index/deta/id/{$vo.g_id}"class="product_image">
                            <img src="__HUP__{$vo.g_img}" />
                        </a>
                        <span class="list-hover"><a href="__GROUP__/Index/deta/id/{$vo.g_id}"><img src="__HIMG__/tips.png" /></a></span>
                        <div class="product_info">
                            <h3>
                                <a href="__GROUP__/Index/deta/id/{$vo.g_id}">{$vo.g_name}</a>
                            </h3>
                            <small>{$vo.g_desc}</small>
                        </div>
                        <div class="price_info">
                        <button>
                            <span class="pr_add">放入购物车</span>
                        </button>
                        <button class="price_add" title="" type="button">
                            <span class="pr_price">&yen;{$vo.g_price}</span></button>
                        </div>
                    </li>
					</volist>
                   
                </ul>
            </div>
         </div>
            
             <!-- 底部 -->
               <!-- 底部 -->
           <include file="Public:footer"/>
            <!-- 底部 结束 -->
            </div>
            <!-- 底部 结束 -->
</body>
</html>